//
//  LiveMqttOptions.h
//  mqttQueue
//
//  Created by xuxinhua on 2021/1/19.
//

#import <Foundation/Foundation.h>
#import "LiveEMQOptions.h"
NS_ASSUME_NONNULL_BEGIN

@interface LiveMqttOptions :LiveEMQOptions
@property (nonatomic,copy) NSString *clientId;
@property (nonatomic,assign) UInt16 keepAliveInterval;
/** The maximum Window Size for outgoing inflight messages per clientID. Defaults to 16 */
@property (nonatomic) NSUInteger maxWindowSize;

/** The maximum number of messages kept per clientID and direction. Defaults to 1024 */
@property (nonatomic) NSUInteger maxMessages;

/** Indicates if the persistence implementation should make the information permannent. Defaults to NO */
@property (nonatomic) BOOL persistent;

/** The maximum size of the storage used for persistence in total in bytes. Defaults to 1024*1024 bytes */
@property (nonatomic) NSUInteger maxSize;
@end

NS_ASSUME_NONNULL_END
